projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75eb2d0
)
(xref-revert-buffer): Also 'erase-buffer' when handling a user-error
author
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 29 Jan 2021 13:53:28 +0000
(15:53 +0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 29 Jan 2021 13:53:28 +0000
(15:53 +0200)
* lisp/progmodes/xref.el (xref-revert-buffer):
Also 'erase-buffer' when handling a user-error (bug#46042).
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index 07a65d4ed93600c0a003b0fe81024cb6139af958..18fdd963fb16612505d064c8faeb8d8beabbbe0f 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-972,6
+972,7
@@
Return an alist of the form ((FILENAME . (XREF ...)) ...)."
(erase-buffer)
(xref--insert-xrefs alist))
(user-error
+ (erase-buffer)
(insert
(propertize
(error-message-string err)